#!c:/perl/bin/perl.exe -w
#ABOUT:   Fingers crossed this should set you up with everything required for Windows, Catalyst,
#         MySQL drivers, Postgres drivers.  This script has only been tested with Vista Windows 
#         and could use some abuse, feel free to send updates if required.
#VERSION: 0.1
#AUTHOR:  Jamie Nicholson
#LICENSE: This library is free software, you can redistribute it and/or modify it
#         under the same terms as Perl itself.

system("ppm rep add theoryx5.uwinnipeg.ca http://theoryx5.uwinnipeg.ca/ppms/");
system("ppm rep add trouchelle.com http://trouchelle.com/ppm/"); # was having trouble connecting
system("ppm rep add tcol.org http://ppm.tcool.org/archives/");
system("ppm rep add jeneric.org http://www.jeneric.org/ppms/"); #postgres

system('ppm install --force task-catalyst');
system('ppm install catalyst-plugin-session-state-cookie');
system('ppm install catalyst-plugin-session-store-fastmmap');
system('ppm install catalyst-plugin-Authorization-ACL');
system('ppm install catalyst-plugin-Authorization-Roles');
system('ppm install catalyst-plugin-Authentication-store-dbic');
system('ppm install catalyst-view-tt');
system('ppm install catalyst-view-json');
system('ppm install Catalyst::Model::DBIC::Schema');
system('ppm install Catalyst::Controller::REST');
system('ppm install dbix-class-schema-loader');
system('ppm install dbd-pg');
system('ppm install http://dbdpgppm.projects.postgresql.org/DBD-Pg-5.8s.ppd');
system('ppm install dbd-mysql');
system('ppm install Catalyst-Plugin-StackTrace');